package com.ttg.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class VipGetOneVo {

    //会员编号（自增主键）
    @JsonProperty(value = "vip_id")
    private Long vipId;

    //客户名称(姓名)
    @JsonProperty(value = "vip_cst_name")
    private String vipCstName;

    //手机号码
    @JsonProperty(value = "vip_phone_number")
    private String vipPhoneNumber;

    //微信openId
    @JsonProperty(value = "vip_wxopen_id")
    private String vipWxopenId;

    //性别（0未知，1男，2女）
    @JsonProperty(value = "vip_sex")
    private Integer vipSex;

    //出生年月
    @JsonProperty(value = "vip_birthday")
    private LocalDate vipBirthday;

    //注册时间
    @JsonProperty(value = "vip_reg_time")
    private LocalDateTime vipRegTime;

    //所在地
    @JsonProperty(value = "vip_address")
    private String vipAddress;

    //详细地址
    @JsonProperty(value = "vip_address_detail")
    private String vipAddressDetail;

    //邮箱
    @JsonProperty(value = "vip_email")
    private String vipEmail;

    //微信号
    @JsonProperty(value = "vip_wx_number")
    private String vipWxNumber;

    //银行卡号
    @JsonProperty(value = "bank_car_no")
    private String bankCarNo;

    //积分余额
    @JsonProperty(value = "vip_integration_amount")
    private Long vipIntegrationAmount;

    //成长值
    @JsonProperty(value = "vip_grow")
    private Integer vipGrow;

    //会员等级
    @JsonProperty(value = "vip_grade")
    private Double vipGrade;

    //注册来源
    @JsonProperty(value = "vip_reg_source")
    private String vipRegSource;

    //最后登陆时间
    @JsonProperty(value = "vip_last_login_time")
    private LocalDateTime vipLastLoginTime;

    //标签列表
    private List<VipTag> vipTagList;
}
